package com.health.personal.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.health.common.core.po.TuserPo;
import com.health.personal.domain.dto.RegisterRetrieveDto;


/**
 * @BelongsProject: dimensionality-manage
 * @BelongsPackage: com.health.personal.service
 * @Author: 许力匀
 * @CreateTime: 2024-12-12  19:44
 * @Description: 患者实体类接口层
 * @Version: 1.0
 */
public interface TUserService extends IService<TuserPo> {

    /**
     * 根据邮件查询用户
     */
    public TuserPo selectByEmail(String email);

    /**
     * 发送验证码
     */
    public void sendCaptcha(String email);

    /**
     * 根据邮件修改密码
     */
    public void  updatePassword(String email, String password,String code,String beginPassword);

    /**
     * 患者注册
     */
    public void  register(RegisterRetrieveDto registerRetrieveDto);
}
